<!DOCTYPE html>
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width">
        <script src="../avalon.js" ></script>
        <script>
            var model = avalon.define({
                $id: "test",
                a: 111
            });
            avalon.duplexHooks.add100 = {
                get: function (val) {
                    return val
                },
                set: function (val) {
                    return val + 100
                }
            }

        </script>
    </head>
    <body>
        <div ms-controller="test">
            <input ms-duplex-number-add100="a" >{{a}}
        </div>
    </body>
</html>
